@echo off
cd Pinea
if not exist build (
    mkdir build
)
cd build
cmake -G "Visual Studio 17 2022" -A x64 ..
cmake --build . --config=Release
cd ..
copy build\Release\Pinea.dll bin\Pinea.dll > nul 2>&1
copy build\Release\Pinea.lib lib\Pinea.lib > nul 2>&1
cd ..